package sg.edu.ntu.metaweb.pastry.messages;

import java.net.URL;

import rice.p2p.commonapi.Id;
import rice.p2p.commonapi.Message;

public class RequestWebpageDataMessage extends MetawebMessage {

	URL url;
	  
	public RequestWebpageDataMessage(Id sender, Id targetID, int requestID, URL url) {
	    super(sender, targetID, requestID);
	    this.url = url;
	}
	  
	public int getPriority() {
	    return Message.LOW_PRIORITY;
	}

	public URL getUrl() {
		return url;
	}
	
}
